[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function 66h (102) Get or Set Global Code Page . DOS 3.3
Gets or sets Global Code Page.
To get the Global Code page:
On entry: AH 66h
AL 01h . Get global code page
Returns: BX Global code page
DX DOS system code page
To set Global Code page:
On entry: AH 66h
AL 02h . Set global code page
BX Global code page
---------------------------------------------------------------------------
This function gets or sets the code page for the current country.
Subfunction 01h returns the number of the current code page in BX,
and the number of the code page that was active on boot in DX.
Subfunction 02h lets you set the current code page. Pass the number
of the new code page in BX. DOS moves the code page data from the
COUNTRY.SYS file into an internal buffer. If DOS cannot find the required
information in that file, it returns an error of 2 in AX.
DOS attempts to switch all devices set up for code page switching to the
new code page. If it is unsuccessful, it returns an error code of 65 in
AX.
Notes: The NLSFUNC DOS extension must be installed for
this function to work properly.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson